﻿using System;
using System.Collections.Generic;

namespace SymbolIntegration.core.Helpers
{
    static class ForeachExtention
    {
        public static void Foreach<TTemplate>(this IEnumerable<TTemplate> enumerable, Action<TTemplate> action)
        {
            foreach (var template in enumerable)
            {
                action(template);
            }
        }
    }
}
